import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:sonora/bloc/base/sj_base_state.dart';

part 'sj_onboarding_state.freezed.dart';

@freezed
class SjOnboardingState extends SjBaseState with _$SjOnboardingState {
  const factory SjOnboardingState(
      {required int currentPage,
      required bool isLastPage}) = _SjOnboardingState;

  factory SjOnboardingState.initial() =>
      const SjOnboardingState(currentPage: 0, isLastPage: false);
}
